ARCH = x86

CFLAGS_APP = -fno-stack-protector -nostdlib -nostdinc -fno-builtin  -I"../../include"
CFLAGS_DRV = -fno-stack-protector -nostdlib -nostdinc -fno-builtin  -I"../../lib" -I"../../include"
CFLAGS_LIB = -fno-stack-protector -nostdlib -nostdinc -fno-builtin -I"../" -I"../../" -I"../../include"

PROMPT = "   -> "
LD = @echo $(PROMPT) LD "    " $ && ld
CC = @echo $(PROMPT) CC "    " $< && gcc
ASM = @echo $(PROMPT) ASM "   " $< && nasm
AR = @echo $(PROMPT) AR "    " $ && ar
CD = cd 
#@echo $(PROMPT) CD "    " $< && cd


.c.o: 
	$(CC) -c $(CFLAGS) -o "$@" "$<"

.s.o:
	$(ASM) $(ASFLAGS) $<
	

